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,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
};

void display_wificonfig_page() {
  digitalWrite(D5, LOW);
  wifi_init();
  if (settingMode) {
    int modeButton = HIGH;
    int cfgNum = 1, cfgNum_t = 0;
    boolean netCfgFlag = false;
    display.setFullWindow();
    display.fillScreen(GxEPD_WHITE);
   // display.nextPage();
    u8g2Fonts.setFont(chinese_city_gb2312);
    u8g2Fonts.setForegroundColor(GxEPD_BLACK);  // 设置前景色
    u8g2Fonts.setBackgroundColor(GxEPD_WHITE);  // 设置背景色

    while (1) {
      display.setPartialWindow(0, 0, 212, 104);
      display.fillScreen(GxEPD_WHITE);
      display.drawLine(0, 18, 212, 18, GxEPD_BLACK);
      //pclock
      display.drawInvertedBitmap(0, 0, gImage_netcfg, 18, 18, GxEPD_BLACK);


      if (cfgNum != cfgNum_t) {
        cfgNum_t = cfgNum;
        Serial.printf("cfgNum:%d\n",cfgNum);

        if (cfgNum == 1) {
          Serial.println("netCfg 1 page. ");
          u8g2Fonts.setCursor(0, 32);
          u8g2Fonts.print("web配网");
      
          //drawweb config page
          u8g2Fonts.setCursor(0, 48);
          u8g2Fonts.print("1)打开手机WiFi");
          u8g2Fonts.setCursor(0, 64);
          u8g2Fonts.print("2)连接\"Edp-213\"");
          u8g2Fonts.setCursor(0, 80);
          u8g2Fonts.print("3)自动配网或者登录");
          u8g2Fonts.setCursor(0, 96);
          u8g2Fonts.print("IP:192.168.1.1");

        } else if (cfgNum == 2 || cfgNum == 3) {
          Serial.println("netCfg 2 page. ");
           u8g2Fonts.setCursor(0, 32);
          u8g2Fonts.print("web配网");
          u8g2Fonts.setCursor(2, 48);
          u8g2Fonts.print("SSID:"+ ssid);
          u8g2Fonts.setCursor(42, 48);
          u8g2Fonts.print("");
          display.drawLine(42, 48, 120, 48, GxEPD_BLACK);

          u8g2Fonts.setCursor(2, 64);
          u8g2Fonts.print("PASS:" + pass);
          u8g2Fonts.setCursor(42, 64);
          u8g2Fonts.print("");
          display.drawLine(42, 64, 120, 64, GxEPD_BLACK);

          display.fillRect(38+(100*(cfgNum-2)),76,32,18,GxEPD_BLACK);
          display.fillRect(38+(100*(cfgNum-2))+1,77,30,16,GxEPD_WHITE);
          u8g2Fonts.setCursor(40, 90);
          u8g2Fonts.print("配网");
          u8g2Fonts.setCursor(140, 90);
          u8g2Fonts.print("清除");
          

        } 
        /*
        else if (cfgNum == 3) {

          
          display.fillRect(38+(100*(cfgNum-2)),76,32,18,GxEPD_BLACK);
          display.fillRect(38+(100*(cfgNum-2))+1,77,30,16,GxEPD_WHITE);
          u8g2Fonts.setCursor(40, 90);
          u8g2Fonts.print("配网");
          u8g2Fonts.setCursor(140, 90);
          u8g2Fonts.print("清除");
        }
        */
        
      
        display.nextPage();
      }

      //Serial.println("check netCfgFlag");
       if (netCfgFlag) {

          //配网
          if(cfgNum == 2)
          {
            Serial.println("netCfg start. ");
            digitalWrite(D4, HIGH);  //配置过程中D4常亮

            setupMode();

            u8g2Fonts.setFont(chinese_city_gb2312);
            u8g2Fonts.setCursor(160, 16);
            u8g2Fonts.print("联网");
            display.nextPage();

            while (1) {
              if (WiFi.status() != WL_CONNECTED)  //配置完将自动重启
              {
                dnsServer.processNextRequest();
                webServer.handleClient();
              }
            }
            changingMode = true;



          }
          else if(cfgNum == 3)
          {
            Serial.println("netCfg set Default config. ");
            //clear eeprom
            setDefaultConfig();
          }
          netCfgFlag = false;
          
        }
    

       //btn control
      setButtonState = digitalRead(setPin);  //按键
      
      if (setButtonState == LOW) {
        if (setButtonCount < 40) digitalWrite(ledPin, HIGH);  //on
        else digitalWrite(ledPin, LOW);
        setButtonState_t = LOW;
        setButtonCount++;
        delay(50);
      } else {
        digitalWrite(ledPin, LOW);
        if (setButtonState_t == LOW) {
          if (setButtonCount < 40) {
              //set短按
            Serial.println("netCfg set短按 ");
            if (cfgNum == 3)
              cfgNum = 2;
            else
              cfgNum++;
            delay(200);

          } else {
            Serial.println("netCfg set长按 ");
            //执行配网或清除
            
                netCfgFlag=true;
           
            
          }
        }
        setButtonCount = 0;
        setButtonState_t = HIGH;
      }
      
      modeButton = digitalRead(modePin);
      if (modeButton == LOW &&(cfgNum > 1)) {
          Serial.println("show netcfg page. ");        
          cfgNum = 1;
       
      }
    }
  }
}
